* {
    margin: 0;
    padding: 0;
}

body {
    font-family: Consolas, "Microsoft Yahei";
}

.bg {
    background: url("img/bg.svg") center;
    position: fixed;
    width: 200%;
    height: 200%;
    bottom: -500px;
    right: -500px;
    transform: rotate(-25deg);
    z-index: -1;
}

a {
    text-decoration: none;
}

a:link {
    color: #000;
}

a:visited {
    color: #000;
}

ul {
    list-style-type: none;
}

.top {
    /*border-bottom: 1px solid #ccc;*/
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.25);
    padding: 10px 60px;
    z-index: 2;
    line-height: 30px;
    height: 42px;
    min-width: 780px;
}

.top .logo {
    margin-top: 5px;
    height: 32px;
    line-height: 32px;
    text-indent: 3em;
    float: left;
    vertical-align: middle;
    background-image: url(favicon.ico);
    background-repeat: no-repeat;
}

.top .v1 {
    margin-top: 6.5px;
    font-size: 0.4em;
    font-style: oblique;
    text-decoration: underline;
    float: left;
    margin-left: 20px;
}

.top ul {
    float: right;
    margin-right: 30px;
    margin-top: 5px;
    height: 30px;
    line-height: 30px;
}

.top ul li {
    display: inline-block;
    position: relative;
    margin: 0 15px;
}

.top ul li a {
    cursor: pointer;
    padding-bottom: 5px;
    color: #34495e;
    padding: 5px 10px;
    /*border-left: 1px solid rgba(0, 0, 0, 0);*/
    /*border-right: 1px solid rgba(0, 0, 0, 0);*/
    border-top: 3px solid #ccc;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 3px solid #ccc;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.top ul li a.active {
    color: #42b983;
    border-top: 3px solid #42b983;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 3px solid #42b983;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-left: 1px solid #42b983;
    border-right: 1px solid #42b983;
}

.top ul li a.active:hover {
    border-top: 3px solid #42b983;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 3px solid #42b983;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-left: 1px solid #42b983;
    border-right: 1px solid #42b983;
}

.top ul li a:hover {
    color: #42b983;
}

.main {
    margin-left: auto;
    margin-right: auto;
}

.main-left {
    width: 245px;
    float: left;
}

.menu {
    width: 100%;
}

.menu a {
    display: block;
    line-height: 2em;
    text-indent: 1em;
    margin-top: 2px;
}

.menu li a {
    /*border-top: 1px solid #ccc;*/
    border-left: 5px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-bottom-left-radius: 10px;
}

.menu li a.active {
    /*border-top: 1px solid #42b983;*/
    border-left: 5px solid #42b983;
    border-bottom: 1px solid #42b983;
    border-bottom-left-radius: 10px;
    color: #42b983;
}

.menu li a:hover {
    color: #42b983;
}

.menu-1 {
    padding-left: 10px;
}

.menu-2 {
    padding-left: 20px;
}

.main-right {
    margin-left: 245px;
    padding: 0 20px 0 30px
    /*border-left: 1px solid #ccc;*/
}

.content {}

.content h2 {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
    padding: 10px 0;
}

.content h4 {
    display: block;
    font-weight: bold;
}

.content p {
    margin-top: 12px;
    margin-bottom: 4px;
}

pre {
    font-family: Consolas, "Microsoft Yahei";
    word-wrap: break-word;
    word-break: break-all;
    font-size: 0.8em;
    line-height: 1em;
    color: #333333;
    padding: 5px;
    background-color: #E4E4E4;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

table th {
    background-color: #ccc;
}

table td {
    background-color: #fff;
}

table th,
td {
    margin: 0;
    padding: 5px 10px;
    border: 1px solid #000;
}

.bottom {
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
}

.bottom>* {
    display: inline-block;
    min-width: 50px;
    padding: 0 10px;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
}

.bottom>*:hover {
    color: #42b983;
    border-bottom: 1px solid #42b983;
}

.bottom .prev {
    float: left;
    border-left: 4px solid #ccc;
    border-bottom-left-radius: 10px;
}

.bottom .prev:hover {
    border-left: 4px solid #42b983;
    border-bottom-left-radius: 10px;
}

.bottom .next {
    float: right;
    border-right: 4px solid #ccc;
    border-bottom-right-radius: 10px;
}

.bottom .next:hover {
    border-right: 4px solid #42b983;
    border-bottom-right-radius: 10px;
}

.footer {
    width: 100%;
    height: 3em;
    line-height: 3em;
    text-align: center;
    font-size: small;
    font-family: Consolas, "宋体";
    /*border-top: 1px solid #ccc;*/
    /*box-shadow: 0 0 1px rgba(0, 0, 0, 0.25);*/
}

.footer span {
    margin-top: 1em;
}

.footer a {
    color: #287150;
    font-style: oblique;
    text-decoration: underline;
}
